package com.example.student;

import java.util.ArrayList;
import java.util.List;

public class Student {
    /**
     * 学生名称
     */
    private String neme;
      /**
     * 学生ID
     */
    private String  no;
      /**
     * 学生性别
     */
    private String sex;
      /**
     * 学生年龄
     */
    private Integer age;
      /**
     * 学生班级名称
     */
    private String className;
    private List<Course> studentCourse=new ArrayList<>();



      public String getNeme() {
          return neme;
      }
      public void setNeme(String neme) {
          this.neme = neme;
      }
      public String getNo() {
          return no;
      }
      public void setNo(String no) {
          this.no = no;
      }
      public String getSex() {
          return sex;
      }
      public void setSex(String sex) {
          this.sex = sex;
      }
      public Integer getAge() {
          return age;
      }
      public void setAge(Integer age) {
          this.age = age;
      }
      public String getClassName() {
          return className;
      }
      public void setClassName(String className) {
          this.className = className;
      }
      @Override
      public String toString() {
        return "Student [neme=" + neme + ", no=" + no + ", sex=" + sex + ", age=" + age + ", className=" + className
                + "]";
      }

    
}
